    
    <h2>Quản lý tài khoản</h2> 
                    
<table id="rounded-corner" summary="2007 Major IT Companies' Profit">
    <thead>
    	<tr>
            <th scope="col" class="rounded-company">Mã</th>
            <th scope="col" class="rounded">Tên đăng nhập</th>
            <th scope="col" class="rounded">Tên người dùng</th>
            <th scope="col" class="rounded">Điện thoại</th>
            <th scope="col" class="rounded">Email</th>
            <th scope="col" class="rounded">Bị xóa</th>
            <th scope="col" class="rounded">Sửa</th>
            <th scope="col" class="rounded-q4">Xóa</th>
        </tr>
    </thead>
        <tfoot>
    	<tr>
			<td class="rounded-foot-left">&nbsp;</td>
            <td colspan="6">&nbsp;</td>
        	<td class="rounded-foot-right">&nbsp;</td>
        </tr>
    </tfoot>
    <tbody>
    	<?php
			$sql = "SELECT * FROM nguoidung";
			$result = DataProvider::ExecuteQuery($sql);
			while($row = mysql_fetch_array($result))
			{
				?>
                	<tr>
                        <td><?php echo $row["manguoidung"]; ?></td>
                        <td><?php echo $row["tendangnhap"]; ?></td>
                        <td><?php echo $row["tenguoidung"]; ?></td>
                        <td><?php echo $row["dienthoai"]; ?></td>
                        <td><?php echo $row["email"]; ?></td>
                        <td>
                        	<?php
								if($row["BiXoa"] == 1)
									echo "Bị xóa";
								else
									echo "&nbsp;";
							?>
                        </td>
                       	<td><a href="./index.php?act=1&sub=2&id=<?php echo $row["manguoidung"];?>"><img src="./images/user_edit.png" alt="" title="" border="0" /></a></td>
                        <td><a href="./pages/taikhoan/xlXoa.php?id=<?php echo $row["manguoidung"];?>" class="ask"><img src="./images/trash.png" alt="" title="" border="0" /></a></td>
                    </tr>
                <?php	
			}
		?>
    </tbody>
</table>